﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BunnyEater.Domain.Base
{
    /// <summary>
    /// 主键实体基类，包含主键Id字段
    /// </summary>
    public class KeyEntity
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public string? Id { get; set; }
    }
}
